package com.zy.springcloud.service;

import com.zy.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

/**
 * @author <a href="mailto:zhouyong@cqyyt.com">zy</a>
 * @version 1.0
 * @date 2020/8/5 16:27
 */
public interface PaymentService {

    /**
     * 保存
     * @param payment
     * @return
     */
    public int save(Payment payment);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    public Payment select(@Param("id") long id);

}
